<%@page language="java" isELIgnored="false" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<jsp:directive.include file="/WEB-INF/sitemesh-decorators/include.jsp"/>
<fmt:setBundle basename="bundles.facultyresearch-resources"/>
<html>
<head>
<title>View <fmt:message key="facultyresearch.title"/></title>
</head>
<body>
<div id="contentarea">      
	<div id="lb"><div id="rb"><div id="bb"><div id="blc">
	<div id="brc"><div id="tb"><div id="tlc"><div id="trc">
		<div id="content">
			<h1><fmt:message key="facultyresearch.title"/> Details</h1>
			<div class="navitem"><a class="button" href="${pageContext.request.contextPath}/facultyresearch/indexFacultyresearch"><span><img src="includes/images/icons/back.gif" /><fmt:message key="navigation.back"/></span></a></div>	
			<table cellpadding="0" cellspacing="0" id="viewTable">
				<tbody>
					<tr>
						<td class="label" valign="top">
							<fmt:message key="facultyresearch.facultyresearchid.title"/>:
						</td>
						<td>
							${facultyresearch.facultyResearchId}
						&nbsp;
						</td>
					</tr>
					<tr>
						<td class="label" valign="top">
							<fmt:message key="facultyresearch.title.title"/>:
						</td>
						<td>
							${facultyresearch.title}
						&nbsp;
						</td>
					</tr>
					<tr>
						<td class="label" valign="top">
							<fmt:message key="facultyresearch.researchdescription.title"/>:
						</td>
						<td>
							${facultyresearch.researchDescription}
						&nbsp;
						</td>
					</tr>
					<tr>
						<td class="label" valign="top">
							<fmt:message key="facultyresearch.researchstatus.title"/>:
						</td>
						<td>
							${facultyresearch.researchStatus}
						&nbsp;
						</td>
					</tr>
					<tr>
						<td class="label" valign="top">
							<fmt:message key="facultyresearch.minumumrequirements.title"/>:
						</td>
						<td>
							${facultyresearch.minumumRequirements}
						&nbsp;
						</td>
					</tr>
				</tbody>
			</table>
			<div class="clear">&nbsp;</div>
			<div class="spacer">&nbsp;</div>
			<h1><fmt:message key="faculty.title"/></h1>
					
						<c:if test='${facultyresearch.faculty != null}'>
			<table cellpadding="0" cellspacing="0" id="viewTable">
				<tbody>
					<tr>
						<td  class="label">
							<fmt:message key="faculty.facultyid.title"/>:
						</td>
						<td>
							${facultyresearch.faculty.facultyId}
						&nbsp;
						</td>
					</tr>
					<tr>
						<td  class="label">
							<fmt:message key="faculty.nnumber.title"/>:
						</td>
						<td>
							${facultyresearch.faculty.nnumber}
						&nbsp;
						</td>
					</tr>
					<tr>
						<td  class="label">
							<fmt:message key="faculty.firstname.title"/>:
						</td>
						<td>
							${facultyresearch.faculty.firstName}
						&nbsp;
						</td>
					</tr>
					<tr>
						<td  class="label">
							<fmt:message key="faculty.lastname.title"/>:
						</td>
						<td>
							${facultyresearch.faculty.lastName}
						&nbsp;
						</td>
					</tr>
					<tr>
						<td  class="label">
							<fmt:message key="faculty.email.title"/>:
						</td>
						<td>
							${facultyresearch.faculty.email}
						&nbsp;
						</td>
					</tr>
					<tr>
						<td  class="label">
							<fmt:message key="faculty.url.title"/>:
						</td>
						<td>
							${facultyresearch.faculty.url}
						&nbsp;
						</td>
					</tr>
					<tr>
						<td  class="label">
							<fmt:message key="faculty.active.title"/>:
						</td>
						<td>
							${facultyresearch.faculty.active}
						&nbsp;
						</td>
					</tr>
				</tbody>
			</table>
			<div class="navitem"><a class="button" href="${pageContext.request.contextPath}/facultyresearch/editFacultyresearchFaculty?facultyresearch_facultyResearchId=${facultyresearch.facultyResearchId}&faculty_facultyId=${facultyresearch.faculty.facultyId}&"><span><img src="includes/images/icons/edit.gif" /><fmt:message key="navigation.edit"/></span></a></div>
			<div class="navitem"><a class="button" href="${pageContext.request.contextPath}/facultyresearch/confirmDeleteFacultyresearchFaculty?facultyresearch_facultyResearchId=${facultyresearch.facultyResearchId}&related_faculty_facultyId=${facultyresearch.faculty.facultyId}&"><span><img src="includes/images/icons/delete.gif" /><fmt:message key="navigation.delete"/></span></a></div>
						</c:if>
						<c:if test='${facultyresearch.faculty == null}'>
			<div class="navitem"><a class="button" href="${pageContext.request.contextPath}/facultyresearch/newFacultyresearchFaculty?facultyresearch_facultyResearchId=${facultyresearch.facultyResearchId}&"><span><img src="includes/images/icons/new.gif" /><fmt:message key="navigation.new"/> <fmt:message key="faculty.title"/></span></a></div>
						</c:if>
			<div class="clear">&nbsp;</div>
			<div class="spacer">&nbsp;</div>
			<h1><fmt:message key="researchkeyword.title"/></h1>
					
			<div class="navitem"><a class="button" href="${pageContext.request.contextPath}/facultyresearch/newFacultyresearchResearchkeywords?facultyresearch_facultyResearchId=${facultyresearch.facultyResearchId}&"><span><img src="${pageContext.request.contextPath}/images/icons/new.gif" /><fmt:message key="navigation.new"/> <fmt:message key="researchkeyword.title"/></span></a></div>
			<table cellpadding="0" cellspacing="0" id="viewTable">
				<thead>
					<tr>
						<th class="thead">&nbsp;</th>
						<th class="thead"><fmt:message key="researchkeyword.researchkeywordid.title"/></th>
						<th class="thead"><fmt:message key="researchkeyword.keyword.title"/></th>
					</tr>
				</thead>
				<tbody>
					<c:forEach items="${facultyresearch.researchkeywords}" var="current"  varStatus="i">	
						<c:choose>
							<c:when test="${(i.count) % 2 == 0}">
					    		<c:set var="rowclass" value="rowtwo"/>
							</c:when>
							<c:otherwise>
					    		<c:set var="rowclass" value="rowone"/>
							</c:otherwise>
						</c:choose>
					<tr class="${rowclass}">
						<td nowrap="nowrap">
							<a title="<fmt:message key="navigation.view" />" href="${pageContext.request.contextPath}/facultyresearch/selectFacultyresearchResearchkeywords?facultyresearch_facultyResearchId=${facultyresearch.facultyResearchId}&researchkeywords_researchKeywordId=${current.researchKeywordId}&"><img src="includes/images/icons/view.gif" /></a>
							<a title="<fmt:message key="navigation.edit" />" href="${pageContext.request.contextPath}/facultyresearch/editFacultyresearchResearchkeywords?facultyresearch_facultyResearchId=${facultyresearch.facultyResearchId}&researchkeywords_researchKeywordId=${current.researchKeywordId}&"><img src="includes/images/icons/edit.gif" /></a>
							<a title="<fmt:message key="navigation.delete" />" href="${pageContext.request.contextPath}/facultyresearch/confirmDeleteFacultyresearchResearchkeywords?facultyresearch_facultyResearchId=${facultyresearch.facultyResearchId}&related_researchkeywords_researchKeywordId=${current.researchKeywordId}&"><img src="includes/images/icons/delete.gif" /></a>
						</td>
						<td>
							${current.researchKeywordId}
						&nbsp;
						</td>
						<td>
							${current.keyword}
						&nbsp;
						</td>
					</tr>
					</c:forEach>
				</tbody>
			</table>
			
			<div class="clear">&nbsp;</div>
			<div class="spacer">&nbsp;</div>
			<h1><fmt:message key="category.title"/></h1>
					
			<div class="navitem"><a class="button" href="${pageContext.request.contextPath}/facultyresearch/newFacultyresearchCategories?facultyresearch_facultyResearchId=${facultyresearch.facultyResearchId}&"><span><img src="${pageContext.request.contextPath}/images/icons/new.gif" /><fmt:message key="navigation.new"/> <fmt:message key="category.title"/></span></a></div>
			<table cellpadding="0" cellspacing="0" id="viewTable">
				<thead>
					<tr>
						<th class="thead">&nbsp;</th>
						<th class="thead"><fmt:message key="category.categoryid.title"/></th>
						<th class="thead"><fmt:message key="category.categorydescription.title"/></th>
					</tr>
				</thead>
				<tbody>
					<c:forEach items="${facultyresearch.categories}" var="current"  varStatus="i">	
						<c:choose>
							<c:when test="${(i.count) % 2 == 0}">
					    		<c:set var="rowclass" value="rowtwo"/>
							</c:when>
							<c:otherwise>
					    		<c:set var="rowclass" value="rowone"/>
							</c:otherwise>
						</c:choose>
					<tr class="${rowclass}">
						<td nowrap="nowrap">
							<a title="<fmt:message key="navigation.view" />" href="${pageContext.request.contextPath}/facultyresearch/selectFacultyresearchCategories?facultyresearch_facultyResearchId=${facultyresearch.facultyResearchId}&categories_categoryId=${current.categoryId}&"><img src="includes/images/icons/view.gif" /></a>
							<a title="<fmt:message key="navigation.edit" />" href="${pageContext.request.contextPath}/facultyresearch/editFacultyresearchCategories?facultyresearch_facultyResearchId=${facultyresearch.facultyResearchId}&categories_categoryId=${current.categoryId}&"><img src="includes/images/icons/edit.gif" /></a>
							<a title="<fmt:message key="navigation.delete" />" href="${pageContext.request.contextPath}/facultyresearch/confirmDeleteFacultyresearchCategories?facultyresearch_facultyResearchId=${facultyresearch.facultyResearchId}&related_categories_categoryId=${current.categoryId}&"><img src="includes/images/icons/delete.gif" /></a>
						</td>
						<td>
							${current.categoryId}
						&nbsp;
						</td>
						<td>
							${current.categoryDescription}
						&nbsp;
						</td>
					</tr>
					</c:forEach>
				</tbody>
			</table>
			
			<div class="clear">&nbsp;</div>
			<div class="spacer">&nbsp;</div>
			<h1><fmt:message key="facultyresearchtostudent.title"/></h1>
					
			<div class="navitem"><a class="button" href="${pageContext.request.contextPath}/facultyresearch/newFacultyresearchFacultyresearchtostudents?facultyresearch_facultyResearchId=${facultyresearch.facultyResearchId}&"><span><img src="${pageContext.request.contextPath}/images/icons/new.gif" /><fmt:message key="navigation.new"/> <fmt:message key="facultyresearchtostudent.title"/></span></a></div>
			<table cellpadding="0" cellspacing="0" id="viewTable">
				<thead>
					<tr>
						<th class="thead">&nbsp;</th>
						<th class="thead"><fmt:message key="facultyresearchtostudent.facultyresearchid.title"/></th>
						<th class="thead"><fmt:message key="facultyresearchtostudent.studentid.title"/></th>
						<th class="thead"><fmt:message key="facultyresearchtostudent.facultyid.title"/></th>
					</tr>
				</thead>
				<tbody>
					<c:forEach items="${facultyresearch.facultyresearchtostudents}" var="current"  varStatus="i">	
						<c:choose>
							<c:when test="${(i.count) % 2 == 0}">
					    		<c:set var="rowclass" value="rowtwo"/>
							</c:when>
							<c:otherwise>
					    		<c:set var="rowclass" value="rowone"/>
							</c:otherwise>
						</c:choose>
					<tr class="${rowclass}">
						<td nowrap="nowrap">
							<a title="<fmt:message key="navigation.view" />" href="${pageContext.request.contextPath}/facultyresearch/selectFacultyresearchFacultyresearchtostudents?facultyresearch_facultyResearchId=${facultyresearch.facultyResearchId}&facultyresearchtostudents_facultyResearchId=${current.facultyResearchId}&facultyresearchtostudents_studentId=${current.studentId}&facultyresearchtostudents_facultyId=${current.facultyId}&"><img src="includes/images/icons/view.gif" /></a>
							<a title="<fmt:message key="navigation.edit" />" href="${pageContext.request.contextPath}/facultyresearch/editFacultyresearchFacultyresearchtostudents?facultyresearch_facultyResearchId=${facultyresearch.facultyResearchId}&facultyresearchtostudents_facultyResearchId=${current.facultyResearchId}&facultyresearchtostudents_studentId=${current.studentId}&facultyresearchtostudents_facultyId=${current.facultyId}&"><img src="includes/images/icons/edit.gif" /></a>
							<a title="<fmt:message key="navigation.delete" />" href="${pageContext.request.contextPath}/facultyresearch/confirmDeleteFacultyresearchFacultyresearchtostudents?facultyresearch_facultyResearchId=${facultyresearch.facultyResearchId}&related_facultyresearchtostudents_facultyResearchId=${current.facultyResearchId}&related_facultyresearchtostudents_studentId=${current.studentId}&related_facultyresearchtostudents_facultyId=${current.facultyId}&"><img src="includes/images/icons/delete.gif" /></a>
						</td>
						<td>
							${current.facultyResearchId}
						&nbsp;
						</td>
						<td>
							${current.studentId}
						&nbsp;
						</td>
						<td>
							${current.facultyId}
						&nbsp;
						</td>
					</tr>
					</c:forEach>
				</tbody>
			</table>
			
			<div class="clear">&nbsp;</div>
		</div>
	</div></div></div></div>
	</div></div></div></div>
</div>
</body>
</html>